<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'etudiant-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'numero_etudiant'); ?>
		<?php echo $form->textField($model,'numero_etudiant',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'numero_etudiant'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'programme'); ?>
		<?php echo $form->textField($model,'programme',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'programme'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'promo'); ?>
		<?php echo $form->textField($model,'promo'); ?>
		<?php echo $form->error($model,'promo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'login_ece'); ?>
		<?php echo $form->textField($model,'login_ece',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'login_ece'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'prenom'); ?>
		<?php echo $form->textField($model,'prenom',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'prenom'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nom'); ?>
		<?php echo $form->textField($model,'nom',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'nom'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'majeure'); ?>
		<?php echo $form->textField($model,'majeure',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'majeure'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'etage'); ?>
		<?php echo $form->textField($model,'etage',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'etage'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'option_de_sorite'); ?>
		<?php echo $form->textField($model,'option_de_sorite',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'option_de_sorite'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'option_va'); ?>
		<?php echo $form->textField($model,'option_va',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'option_va'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mineure'); ?>
		<?php echo $form->textField($model,'mineure',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'mineure'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'rue1'); ?>
		<?php echo $form->textField($model,'rue1',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'rue1'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'rue2'); ?>
		<?php echo $form->textField($model,'rue2',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'rue2'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cp'); ?>
		<?php echo $form->textField($model,'cp',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'cp'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ville'); ?>
		<?php echo $form->textField($model,'ville',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'ville'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'pays'); ?>
		<?php echo $form->textField($model,'pays',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'pays'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'etat'); ?>
		<?php echo $form->textField($model,'etat',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'etat'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'tel'); ?>
		<?php echo $form->textField($model,'tel',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'tel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'portable'); ?>
		<?php echo $form->textField($model,'portable',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'portable'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'email_ece'); ?>
		<?php echo $form->textField($model,'email_ece',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'email_ece'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'titre'); ?>
		<?php echo $form->textField($model,'titre',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'titre'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->